package com.cr.dataprotect.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@TableName("integrity_data")
public class IntegrityEntity implements Serializable {
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;


    @TableField(value = "DATA_ID")
    private String dataId;

    @TableField(value = "TABLE_NAME")
    private String tableName;

    @TableField(value = "IN_DATA")
    private String inData;

    @TableField(value = "INTEGRITY_DATA")
    private String integrityData;
    /**
     * 实体对象创建时间
     * 通常与数据库create_time字段对应
     * 可以用来检索此记录的创建时间
     * 从而完成系统业务逻辑
     **/
    @TableField(value = "CREATE_TIME")
    private Date createTime;
    /**
     * 实体对象更新时间
     * 通常与数据库update_time字段对应
     * 可以用来检索此记录的更新时间
     * 从而完成系统业务逻辑
     **/
    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getInData() {
        return inData;
    }

    public void setInData(String inData) {
        this.inData = inData;
    }

    public String getIntegrityData() {
        return integrityData;
    }

    public void setIntegrityData(String integrityData) {
        this.integrityData = integrityData;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
